import Index from '../pages/Index';
import Home from "../pages/Home"
import Collect from "../pages/Collect"
import Kind from "../pages/Kind"
import SlotList from "../pages/SlotList"
import Details from "../pages/Details"
import Information from "../pages/Information"
import User from "../pages/User"
const routes = [
    {
        path: '/',
        element: Index,
    },
    {
        path: '/kind',
        element: Kind,
    },
    {
        path: '/col',
        element: Collect,
    },
    {
        path: '/home',
        element: Home,
    },
    {
        path: '/list/:type/:id',
        element: SlotList,
    },
    {
        path: '/details/:id',
        element: Details,
    },
    {
        path: '/info',
        element: Information,
    },
    {
        path: "/user/:type",
        element: User
    }
];

export default routes;